package com.jakewharton.rxbinding4.component;

import com.google.auto.value.AutoValue;

import ohos.agp.components.Rating;

@AutoValue
public abstract class RatingProgressChangeEvent {
    public static RatingProgressChangeEvent create(Rating view, float rating, boolean fromUser) {
        return new AutoValue_RatingProgressChangeEvent(view, rating, fromUser);
    }

    RatingProgressChangeEvent() {}

    public abstract Rating view();

    public abstract float rating();

    public abstract boolean fromUser();
}
